
package com.shycloud.mido.task.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * 身份证信息
 *
 * @author lxy
 * @date 2019-03-01 11:06:13
 */
@Data
@TableName("sm_member_idcard")
@EqualsAndHashCode(callSuper = true)
public class MemberIdcard extends Model<MemberIdcard> {
	private static final long serialVersionUID = 1L;

	/**
	 * 主键
	 */
	@TableId(value = "id", type = IdType.UUID)
	private String id;
	/**
	 * 会员编码
	 */
	private String memberId;
	/**
	 * 创建时间
	 */
	private LocalDateTime createTime;
	/**
	 * 证件类型
	 */
	private String idType;
	/**
	 * 证件号码
	 */
	private String idNumber;
	/**
	 * 证件正面
	 */
	private String frontPic;
	/**
	 * 证件反面
	 */
	private String backPic;
	/**
	 * 真实姓名
	 */
	private String realName;

}
